﻿<%@ Page Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="viewAllMembers.aspx.cs" Inherits="WebApplication1.viewAllMembers" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:GridView ID="gvViewAllMembers" runat="server" AllowPaging="True" 
        AllowSorting="True" AutoGenerateColumns="False" Width="604px" 
        onpageindexchanged="gvViewAllMembers_PageIndexChanged" 
        onselectedindexchanged="gvViewAllMembers_SelectedIndexChanged" 
        CellPadding="4" ForeColor="#333333" GridLines="None" 
        onpageindexchanging="gvViewAllMembers_PageIndexChanging">
        <AlternatingRowStyle BackColor="White" />
        <Columns>
            <asp:HyperLinkField DataNavigateUrlFields="NavigationUrl" 
                DataTextField="FullName" HeaderText="View All Colombo PPA Members" />
        </Columns>
        <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
        <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
        <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
        <SortedAscendingCellStyle BackColor="#FDF5AC" />
        <SortedAscendingHeaderStyle BackColor="#4D0000" />
        <SortedDescendingCellStyle BackColor="#FCF6C0" />
        <SortedDescendingHeaderStyle BackColor="#820000" />
    </asp:GridView>
 <table>
    <tr>
    <td>
        <asp:Button ID="btnAllMembFirst" runat="server" style="margin-left: 0px" 
            Text="First" Width="60px" CommandName="First" OnCommand="ChangePage"/>
        <asp:Button ID="btnAllMembPrev" runat="server" Text="Previous" CommandName="Previous" OnCommand="ChangePage"/>
        <asp:Button ID="btnAllMembNext" runat="server" Text="Next" Width="68px" CommandName="Next" OnCommand="ChangePage"/>
        <asp:Button ID="btnAllMembLast" runat="server" Text="Last" Width="63px" CommandName="Last" OnCommand="ChangePage"/>
        </td>
    </tr>
     <tr>
    <td>&nbsp;</td>
    </tr>
     <tr>
    <td>
        <asp:Label ID="lblAllMembPage" runat="server"></asp:Label>
        <asp:Label ID="lblAllMembCurrPage" runat="server"></asp:Label>
        <asp:Label ID="lblAllMembOf" runat="server"></asp:Label>
        <asp:Label ID="lblAllMembTotalPage" runat="server"></asp:Label>
         </td>
    </tr>
    </table>
</asp:Content>
